package com.example.administrator.capital.model.bean;

/**
 * Created by ${ZhouZiWen} on 2018/5/21 0021.
 */

public class AccountBean {

    /**
     * success : true
     * status : 200
     * data : {"id":"1","isNewRecord":false,"uid":1,"balance":3278200,"amount":107189200,"freeze":11841100,"updatetime":1526724183000}
     * code : 1
     * msg : 查询成功
     * url :
     */

    private boolean success;
    private String status;
    private DataBean data;
    private int code;
    private String msg;
    private String url;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public static class DataBean {
        /**
         * id : 1
         * isNewRecord : false
         * uid : 1
         * balance : 3278200
         * amount : 107189200
         * freeze : 11841100
         * updatetime : 1526724183000
         */

        private String id;
        private boolean isNewRecord;
        private int uid;
        private int balance;
        private int amount;
        private int freeze;
        private long updatetime;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public int getBalance() {
            return balance;
        }

        public void setBalance(int balance) {
            this.balance = balance;
        }

        public int getAmount() {
            return amount;
        }

        public void setAmount(int amount) {
            this.amount = amount;
        }

        public int getFreeze() {
            return freeze;
        }

        public void setFreeze(int freeze) {
            this.freeze = freeze;
        }

        public long getUpdatetime() {
            return updatetime;
        }

        public void setUpdatetime(long updatetime) {
            this.updatetime = updatetime;
        }
    }
}
